<%@page import="java.net.URLEncoder"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ page import="java.sql.*" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<jsp:useBean id="db" class="ctm.javacode.dbBean"/>
<jsp:useBean id="Pagination" class="ctm.javacode.pagination"/>
<jsp:useBean id="timeS" class="ctm.javacode.lib"/>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>飲食紀錄</title>
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>
<script
	src="//ajax.googleapis.com/ajax/libs/jqueryui/1.10.2/jquery-ui.min.js"></script>
<script language="Javascript" type="text/javascript" src="./JQuery/checkID.js"></script> 
<script language="Javascript" type="text/javascript" src="./JQuery/proSuggestSearch.js"></script>
<style type="text/css">
<!--
body {
	background-image: url(img/grass.jpg);
    background-position: center top;
	background-color: #FFFFFF;
	background-repeat: repeat;
}
body,td,th {
	color: #000000;
	font-size:24px;
	font-family: Arial;
}


a:link {
font-family:Arial; 
	font-size:25px;
	text-decoration:none;
	color: #1B4001;
	background-color:#FFFFFF;
}
a:visited {
	font-family:Arial; 
	font-size:25px;
	text-decoration:none;
	color:#1B4001;
	background-color:#FFFFFF;
}
a:hover {
font-family:Arial; 
	font-size:25px;
	text-decoration:none;
	color:#000000;
	background-color:#FFFFFF;
}


.ind:link {
	color: #FFFFFF;
	text-decoration:none;
	font-family:"Arial";
	font-size:20px;
	background-color: #437A27;
}
.ind:visited {
color:#FFFFFF;
text-decoration:none;
font-family:"Arial";
font-size:20px;
background-color: #437A27;
}

.ind:hover {
color:#000000;
text-decoration:none;
font-family:"Arial";
font-size:20px;
background-color: #437A27;
}

.HEAD_STYLE {
	font-weight:bold;
	color: #1B4001;
	font-family:"標楷體";
	font-size:30px; 
}
.TEXT_STYLE {
	font-family:Arial;
	color:#193940;
	font-size:24px;
	font-weight:bold;
}
.BOTTOM_STYLE {
	color: #FFFFFF; 
	font-family: Arial; 
	font-size:20px;
}
.LEFT_BUTTON {
	font-family:"標楷體"; 
	font-size:30px;
}
.button
{
	border:1px;
	padding-top: 4px;
	padding-right: 7px;
	padding-bottom: 4px;
	padding-left: 7px;
	background-color: #468129;
	color: #FFFFFF;
	font-size: 16px;
	border-color: #3C7023;
}

.checkbox {
 width: 19px;
 height: 25px;
 padding: 0 5px 0 0;
 background: url(checkbox.png) no-repeat;
 display: block;
 clear: center;
 float: center;
}
-->
</style>

</head>
<body alink="#FF0000" vlink="#FF0000">
<table width="100%" border="0">
		<tr>
			<td><p>&nbsp;</p></td>
		</tr>

    		<td width="5%">&nbsp;</td>
			
			<td bgcolor="#FFFFFF"><table width="100%" border="0">
				<tr>
					<td background="img/herbal.jpg">
						<p>&nbsp;</p>
						<p>&nbsp;</p>
						<p>&nbsp;</p>
						<p>&nbsp;</p>
						<p>&nbsp;</p>

					</td>
				</tr>

				<tr>
        			<td>	
						<table bgcolor="#437A27" width="100%" border="0">
         					 <tr>
            					<td>&nbsp;</td>
           			 		 </tr>
        				</table>
					</td>
     			</tr>
  
	 			  <tr>
        				<td>
							<table width="100%">
           						<tr>
									<td valign="top">
										<table width="100%">
											
											<tr><td class="TEXT_STYLE" align="center">
											<span>身分證字號</span>&nbsp;<input type="text" name="personId"  id="personId" value=""/>
											<input align="left" type="button" value="取資料" id="getdata" class="button"/>
											</td></tr>
											
											<tr>
												<td class="HEAD_STYLE" align="center">歷史問卷</td>											
											</tr>

										<tr>
											<td>
												<div id="div_data">
													<table id="suggesthistory" border="1" align="center" width="55%">
														<!-- <tr><td align="center"><a href="suggestHistory.jsp?testtime=2013/9/7 下午 04:06&name=a123456789" target="_new">2013/9/7 下午 04:06</a></tr></td> -->
													</table>
												</div> 
												<input type="hidden" name="count" id="count" value="" />
												<p align="center">
													<input align="left" type="button" value="上一頁" id="prevouspage" class="button" /> 
													<input align="left" type="button" value="下一頁" id="nextpage" class="button" />
													<input align="left" type="button" value="刪除" id="deldata" class="button"/>
												</p>

											</td>
										</tr>

										</table>
								  </td>
								</tr>
       					 </table>
         				 </td>
			  </tr>
					 <tr>
      					  
   					    <td><p>&nbsp;</p></td>
  					 </tr>
	  				
					<tr>
      					  <td bgcolor="#437A27"><div align="center" class="BOTTOM_STYLE">Copyright@ITRI and CCU_PLlab</div></td>
 			  </tr>
			</table>
		</td>
	    
		<td width="5%">&nbsp;</td>
</table>
<p>&nbsp;</p>
</body>
</html>
